﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMSystem.DataAccess.DataContext
{
    public class Context : DbContext
    {
        public Context()
            : base("name=DBConnection")
        { }


        public DbSet<RecordItem> RecordItems { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<RecordItemImage> RecordItemImages { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<Audit> Audits { get; set; }


    }
}
